package com.cloudkinto.bo.order.outbound;

import com.cloudkinto.vo.order.outbound.OutboundPackageDetail;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 出库单称重
 *
 * @author long
 */
@Data
public class NormalWeighBo {

    @ApiModelProperty(value = "出库单id")
    @NotNull(message = "出库单id")
    private Long id;

    @ApiModelProperty(value = "出库单号")
    private String outboundNo;

    @ApiModelProperty(value = "称重后立即出库 true立即出库 false和null不立即出库")
    private boolean immediate;

    @NotNull(message = "称重类型不能为空")
    @ApiModelProperty(value = "称重类型 1手动 2自动")
    private Integer weighType;

    @ApiModelProperty("出库单包裹列表")
    private List<OutboundPackageDetail> outboundPackageList;
}
